package com.ruoyi.storage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库位管理对象 warehouse_location
 * 
 * @author 庞一恺
 * @date 2025-01-10
 */
public class WarehouseLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库位id  */
    private Integer locationId;

    /** 是否空闲 */
    @Excel(name = "是否空闲")
    private String ifAvailable;

    /** 仓库id */
    private Integer warehouseId;

    /** 库区id */
    @Excel(name = "库区id")
    private Integer areaId;

    public void setLocationId(Integer locationId) 
    {
        this.locationId = locationId;
    }

    public Integer getLocationId() 
    {
        return locationId;
    }
    public void setIfAvailable(String ifAvailable) 
    {
        this.ifAvailable = ifAvailable;
    }

    public String getIfAvailable() 
    {
        return ifAvailable;
    }
    public void setWarehouseId(Integer warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Integer getWarehouseId() 
    {
        return warehouseId;
    }
    public void setAreaId(Integer areaId) 
    {
        this.areaId = areaId;
    }

    public Integer getAreaId() 
    {
        return areaId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("locationId", getLocationId())
            .append("ifAvailable", getIfAvailable())
            .append("warehouseId", getWarehouseId())
            .append("areaId", getAreaId())
            .toString();
    }
}
